package com.sundablog.demo.service.impl;

import com.sundablog.demo.service.IModifyService;
import com.sundablog.spring.framework.annotation.SDService;

/**
 * @Title:
 * @Package com.sundablog.demo.service.impl
 * @Description: TODO
 * @author: 孙达
 * @date: 2020/04/16 14:55
 * @Copyright: All rights Reserved, Designed By www.sundablog.com
 */
@SDService
public class ModifyService implements IModifyService {

    /**
     * 增加
     */
    public String add(String name,String addr) {
        return "modifyService add,name=" + name + ",addr=" + addr;
    }

    /**
     * 修改
     */
    public String edit(Integer id,String name) {
        return "modifyService edit,id=" + id + ",name=" + name;
    }

    /**
     * 删除
     */
    public String remove(Integer id) {
        return "modifyService id=" + id;
    }

}

